import java.util.Random;

class GambleSimulation{
	public static void main(String[] args){
		Random r = new Random(2);
		for(int i = 0; i<6; i++){
			System.out.println("第" + (i + 1) +"个红球号码为：" + (r.nextInt(33) + 1));
		}
		Random r1 = new Random(3);
		System.out.println("篮球号码为：" + (r1.nextInt(16) + 1));
	}
}